home *** CD-ROM | disk | FTP | other *** search
/ AOL File Library: 3,701 to 3,800 / aol-file-protocol-4400-3701-to-3800.zip / AOLDLs / Health and Fitness / DREAMS_ It's All About Dreams / DRMS10.exe / EXE.DOC < prev    next >
Text File  |  1993-03-05  |  5KB  |  106 lines

  1.  
  2.               MIXING OTHER PROGRAMS INTO YOUR TEXT PRESENTATIONS
  3.  
  4.          You  are not limited to text-only presentations!  You can mix
  5.          in pictures, questions and answer sessions, databases, almost
  6.          anything else you want.
  7.  
  8.          It's done like this:  You can list programs and  batch  files
  9.          on  the  menu as if they were chapters (text files), but when
  10.          the end user selects one of these programs, it  runs!   Then,
  11.          when  the  program  ends,  the  user is returned to the DREAM
  12.          menu!
  13.  
  14.          A simple use of this might be to include a picture. Let's say
  15.          you have created a tutorial about playing the flute, but  you
  16.          really want to show your readers a picture of the fingerings.
  17.          You  can use The Multimedia Workshop (available as shareware)
  18.          or just about any paint program to create the  picture,  then
  19.          list  it's  runtime  display program on the DREAM menu.  When
  20.          the user selects that "chapter," instead of the  usual  text,
  21.          your fingerings picture is displayed.
  22.  
  23.          And,   of  course,  you  can  get  fancy,  including  several
  24.          pictures, a  self-running  catalog  database,  and  ORDER.EXE
  25.          (provided with WRITER'S DREAM).
  26.  
  27.                               Here's The Details:
  28.  
  29.          To enter a program on the main menu, use the BUILD program as
  30.          usual.    On  the  left  side  of  the  BUILD  menu,  type  a
  31.          description of the program as if it were a chapter.  Then  on
  32.          the  right,  type  the  exact  name  of the program with it's
  33.          extension, but without drive or sub-directory information:
  34.  
  35.          PACMAN.EXE - this is ok
  36.  
  37.          STARGATE - this is NOT ok (needs the .COM part)
  38.  
  39.          C:\GAMES\STARGATE.COM - this is not ok (plus it won't fit)
  40.  
  41.          Some programs require a parameter, such as the  name  of  the
  42.          picture  file  to display.  You'll notice there is no room on
  43.          the right side of the BUILD menu for the parameters.  So  how
  44.          do you work with these programs?
  45.  
  46.          You make a batch file and list it on the BUILD menu.
  47.  
  48.          For  instance,   MSHOW.EXE  is  a program which can display a
  49.          picture.  We'll pretend you have a  picture  called  CATTLE.1
  50.          which you want to show.  At the DOS prompt, you'd type:
  51.  
  52.          MSHOW CATTLE.1
  53.  
  54.          But  this  won't work in BUILD.  So make a batch file.  We'll
  55.          call it PICTURE.BAT, but any name would do. PICTURE.BAT  only
  56.          needs to contain one line:
  57.  
  58.          MSHOW CATTLE.1
  59.  
  60.          Batch  files  are  simply text files, so you can use any text
  61.          editor (as long as it makes ordinary  ASCII  files)  to  make
  62.          PICTURE.BAT.  Then on the BUILD menu, you list PICTURE.BAT on
  63.          the right side where the filename belongs.
  64.  
  65.          Batch files can run an unlimited  number  of  programs.  Your
  66.          PICTURE.BAT file could look like this:
  67.  
  68.          MSHOW CATTLE.1
  69.          MSHOW CATTLE.2
  70.          MSHOW CATTLE.3
  71.          MSHOW HORSES.1
  72.          MSHOW HORSES.2
  73.          ORDER.EXE
  74.  
  75.          Well,  you  get the idea. Or if not, a little experimentation
  76.          will answer your questions.
  77.  
  78.          Most  programs that run from the DOS prompt will run from the
  79.          DREAM menu.  Dream reserves about 60k of RAM space,  so  very
  80.          large programs may not run, especially in computers with less
  81.          than the full 640k of RAM.
  82.  
  83.          If in doubt about a program which requires a lot of RAM, test
  84.          it,  and  if  you are going to distribute copies to owners of
  85.          assorted computers, you really ought to try  it  again  on  a
  86.          machine  with  limited  RAM  space,  or  else mention in your
  87.          advertising that 640k RAM is required.
  88.  
  89.          An  ideosyncracy  exists within DOS, in that COMMAND.COM must
  90.          sometimes  be  available  via  the  PATH  statement  in   the
  91.          AUTOEXEC.BAT  file, or on disk for batch (.BAT) to run.  This
  92.          is almost never a problem on  hard-disk  equipped  computers,
  93.          but  may sometimes cause problems on floppy-only systems.  Of
  94.          course, this only applies if you list .BAT files  within  the
  95.          Writer's Dream menu.
  96.  
  97.          Here's   a  fun  tip.   You  can  use  WRITER'S  DREAM  as  a
  98.          super-simple and nice-looking menu maker.   Put  it  in  your
  99.          root  directory,  and  with  BUILD, list all the programs you
  100.          like to run. (Remember, that you'll need a path statement  in
  101.          your  AUTOEXEC.BAT file or you'll need to make batch files to
  102.          reach programs in  unusual  sub-directories.)   You  can  put
  103.          anything you like in the title box.  Mine says JEFF'S MENU.
  104.          _____________________________________________________________
  105.                                                        end of chapter.
  106.